package com.kgc.scd.bean;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

public class ProductExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    private Integer limit;

    private Long offset;

    public ProductExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setOffset(Long offset) {
        this.offset = offset;
    }

    public Long getOffset() {
        return offset;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andProIdIsNull() {
            addCriterion("pro_id is null");
            return (Criteria) this;
        }

        public Criteria andProIdIsNotNull() {
            addCriterion("pro_id is not null");
            return (Criteria) this;
        }

        public Criteria andProIdEqualTo(String value) {
            addCriterion("pro_id =", value, "proId");
            return (Criteria) this;
        }

        public Criteria andProIdNotEqualTo(String value) {
            addCriterion("pro_id <>", value, "proId");
            return (Criteria) this;
        }

        public Criteria andProIdGreaterThan(String value) {
            addCriterion("pro_id >", value, "proId");
            return (Criteria) this;
        }

        public Criteria andProIdGreaterThanOrEqualTo(String value) {
            addCriterion("pro_id >=", value, "proId");
            return (Criteria) this;
        }

        public Criteria andProIdLessThan(String value) {
            addCriterion("pro_id <", value, "proId");
            return (Criteria) this;
        }

        public Criteria andProIdLessThanOrEqualTo(String value) {
            addCriterion("pro_id <=", value, "proId");
            return (Criteria) this;
        }

        public Criteria andProIdLike(String value) {
            addCriterion("pro_id like", value, "proId");
            return (Criteria) this;
        }

        public Criteria andProIdNotLike(String value) {
            addCriterion("pro_id not like", value, "proId");
            return (Criteria) this;
        }

        public Criteria andProIdIn(List<String> values) {
            addCriterion("pro_id in", values, "proId");
            return (Criteria) this;
        }

        public Criteria andProIdNotIn(List<String> values) {
            addCriterion("pro_id not in", values, "proId");
            return (Criteria) this;
        }

        public Criteria andProIdBetween(String value1, String value2) {
            addCriterion("pro_id between", value1, value2, "proId");
            return (Criteria) this;
        }

        public Criteria andProIdNotBetween(String value1, String value2) {
            addCriterion("pro_id not between", value1, value2, "proId");
            return (Criteria) this;
        }

        public Criteria andProNameIsNull() {
            addCriterion("pro_name is null");
            return (Criteria) this;
        }

        public Criteria andProNameIsNotNull() {
            addCriterion("pro_name is not null");
            return (Criteria) this;
        }

        public Criteria andProNameEqualTo(String value) {
            addCriterion("pro_name =", value, "proName");
            return (Criteria) this;
        }

        public Criteria andProNameNotEqualTo(String value) {
            addCriterion("pro_name <>", value, "proName");
            return (Criteria) this;
        }

        public Criteria andProNameGreaterThan(String value) {
            addCriterion("pro_name >", value, "proName");
            return (Criteria) this;
        }

        public Criteria andProNameGreaterThanOrEqualTo(String value) {
            addCriterion("pro_name >=", value, "proName");
            return (Criteria) this;
        }

        public Criteria andProNameLessThan(String value) {
            addCriterion("pro_name <", value, "proName");
            return (Criteria) this;
        }

        public Criteria andProNameLessThanOrEqualTo(String value) {
            addCriterion("pro_name <=", value, "proName");
            return (Criteria) this;
        }

        public Criteria andProNameLike(String value) {
            addCriterion("pro_name like", value, "proName");
            return (Criteria) this;
        }

        public Criteria andProNameNotLike(String value) {
            addCriterion("pro_name not like", value, "proName");
            return (Criteria) this;
        }

        public Criteria andProNameIn(List<String> values) {
            addCriterion("pro_name in", values, "proName");
            return (Criteria) this;
        }

        public Criteria andProNameNotIn(List<String> values) {
            addCriterion("pro_name not in", values, "proName");
            return (Criteria) this;
        }

        public Criteria andProNameBetween(String value1, String value2) {
            addCriterion("pro_name between", value1, value2, "proName");
            return (Criteria) this;
        }

        public Criteria andProNameNotBetween(String value1, String value2) {
            addCriterion("pro_name not between", value1, value2, "proName");
            return (Criteria) this;
        }

        public Criteria andProPriceIsNull() {
            addCriterion("pro_price is null");
            return (Criteria) this;
        }

        public Criteria andProPriceIsNotNull() {
            addCriterion("pro_price is not null");
            return (Criteria) this;
        }

        public Criteria andProPriceEqualTo(BigDecimal value) {
            addCriterion("pro_price =", value, "proPrice");
            return (Criteria) this;
        }

        public Criteria andProPriceNotEqualTo(BigDecimal value) {
            addCriterion("pro_price <>", value, "proPrice");
            return (Criteria) this;
        }

        public Criteria andProPriceGreaterThan(BigDecimal value) {
            addCriterion("pro_price >", value, "proPrice");
            return (Criteria) this;
        }

        public Criteria andProPriceGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("pro_price >=", value, "proPrice");
            return (Criteria) this;
        }

        public Criteria andProPriceLessThan(BigDecimal value) {
            addCriterion("pro_price <", value, "proPrice");
            return (Criteria) this;
        }

        public Criteria andProPriceLessThanOrEqualTo(BigDecimal value) {
            addCriterion("pro_price <=", value, "proPrice");
            return (Criteria) this;
        }

        public Criteria andProPriceIn(List<BigDecimal> values) {
            addCriterion("pro_price in", values, "proPrice");
            return (Criteria) this;
        }

        public Criteria andProPriceNotIn(List<BigDecimal> values) {
            addCriterion("pro_price not in", values, "proPrice");
            return (Criteria) this;
        }

        public Criteria andProPriceBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("pro_price between", value1, value2, "proPrice");
            return (Criteria) this;
        }

        public Criteria andProPriceNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("pro_price not between", value1, value2, "proPrice");
            return (Criteria) this;
        }

        public Criteria andProStockIsNull() {
            addCriterion("pro_stock is null");
            return (Criteria) this;
        }

        public Criteria andProStockIsNotNull() {
            addCriterion("pro_stock is not null");
            return (Criteria) this;
        }

        public Criteria andProStockEqualTo(Integer value) {
            addCriterion("pro_stock =", value, "proStock");
            return (Criteria) this;
        }

        public Criteria andProStockNotEqualTo(Integer value) {
            addCriterion("pro_stock <>", value, "proStock");
            return (Criteria) this;
        }

        public Criteria andProStockGreaterThan(Integer value) {
            addCriterion("pro_stock >", value, "proStock");
            return (Criteria) this;
        }

        public Criteria andProStockGreaterThanOrEqualTo(Integer value) {
            addCriterion("pro_stock >=", value, "proStock");
            return (Criteria) this;
        }

        public Criteria andProStockLessThan(Integer value) {
            addCriterion("pro_stock <", value, "proStock");
            return (Criteria) this;
        }

        public Criteria andProStockLessThanOrEqualTo(Integer value) {
            addCriterion("pro_stock <=", value, "proStock");
            return (Criteria) this;
        }

        public Criteria andProStockIn(List<Integer> values) {
            addCriterion("pro_stock in", values, "proStock");
            return (Criteria) this;
        }

        public Criteria andProStockNotIn(List<Integer> values) {
            addCriterion("pro_stock not in", values, "proStock");
            return (Criteria) this;
        }

        public Criteria andProStockBetween(Integer value1, Integer value2) {
            addCriterion("pro_stock between", value1, value2, "proStock");
            return (Criteria) this;
        }

        public Criteria andProStockNotBetween(Integer value1, Integer value2) {
            addCriterion("pro_stock not between", value1, value2, "proStock");
            return (Criteria) this;
        }

        public Criteria andProCategoryidIsNull() {
            addCriterion("pro_categoryid is null");
            return (Criteria) this;
        }

        public Criteria andProCategoryidIsNotNull() {
            addCriterion("pro_categoryid is not null");
            return (Criteria) this;
        }

        public Criteria andProCategoryidEqualTo(Integer value) {
            addCriterion("pro_categoryid =", value, "proCategoryid");
            return (Criteria) this;
        }

        public Criteria andProCategoryidNotEqualTo(Integer value) {
            addCriterion("pro_categoryid <>", value, "proCategoryid");
            return (Criteria) this;
        }

        public Criteria andProCategoryidGreaterThan(Integer value) {
            addCriterion("pro_categoryid >", value, "proCategoryid");
            return (Criteria) this;
        }

        public Criteria andProCategoryidGreaterThanOrEqualTo(Integer value) {
            addCriterion("pro_categoryid >=", value, "proCategoryid");
            return (Criteria) this;
        }

        public Criteria andProCategoryidLessThan(Integer value) {
            addCriterion("pro_categoryid <", value, "proCategoryid");
            return (Criteria) this;
        }

        public Criteria andProCategoryidLessThanOrEqualTo(Integer value) {
            addCriterion("pro_categoryid <=", value, "proCategoryid");
            return (Criteria) this;
        }

        public Criteria andProCategoryidIn(List<Integer> values) {
            addCriterion("pro_categoryid in", values, "proCategoryid");
            return (Criteria) this;
        }

        public Criteria andProCategoryidNotIn(List<Integer> values) {
            addCriterion("pro_categoryid not in", values, "proCategoryid");
            return (Criteria) this;
        }

        public Criteria andProCategoryidBetween(Integer value1, Integer value2) {
            addCriterion("pro_categoryid between", value1, value2, "proCategoryid");
            return (Criteria) this;
        }

        public Criteria andProCategoryidNotBetween(Integer value1, Integer value2) {
            addCriterion("pro_categoryid not between", value1, value2, "proCategoryid");
            return (Criteria) this;
        }

        public Criteria andProExpressIsNull() {
            addCriterion("pro_express is null");
            return (Criteria) this;
        }

        public Criteria andProExpressIsNotNull() {
            addCriterion("pro_express is not null");
            return (Criteria) this;
        }

        public Criteria andProExpressEqualTo(String value) {
            addCriterion("pro_express =", value, "proExpress");
            return (Criteria) this;
        }

        public Criteria andProExpressNotEqualTo(String value) {
            addCriterion("pro_express <>", value, "proExpress");
            return (Criteria) this;
        }

        public Criteria andProExpressGreaterThan(String value) {
            addCriterion("pro_express >", value, "proExpress");
            return (Criteria) this;
        }

        public Criteria andProExpressGreaterThanOrEqualTo(String value) {
            addCriterion("pro_express >=", value, "proExpress");
            return (Criteria) this;
        }

        public Criteria andProExpressLessThan(String value) {
            addCriterion("pro_express <", value, "proExpress");
            return (Criteria) this;
        }

        public Criteria andProExpressLessThanOrEqualTo(String value) {
            addCriterion("pro_express <=", value, "proExpress");
            return (Criteria) this;
        }

        public Criteria andProExpressLike(String value) {
            addCriterion("pro_express like", value, "proExpress");
            return (Criteria) this;
        }

        public Criteria andProExpressNotLike(String value) {
            addCriterion("pro_express not like", value, "proExpress");
            return (Criteria) this;
        }

        public Criteria andProExpressIn(List<String> values) {
            addCriterion("pro_express in", values, "proExpress");
            return (Criteria) this;
        }

        public Criteria andProExpressNotIn(List<String> values) {
            addCriterion("pro_express not in", values, "proExpress");
            return (Criteria) this;
        }

        public Criteria andProExpressBetween(String value1, String value2) {
            addCriterion("pro_express between", value1, value2, "proExpress");
            return (Criteria) this;
        }

        public Criteria andProExpressNotBetween(String value1, String value2) {
            addCriterion("pro_express not between", value1, value2, "proExpress");
            return (Criteria) this;
        }

        public Criteria andProPicIsNull() {
            addCriterion("pro_pic is null");
            return (Criteria) this;
        }

        public Criteria andProPicIsNotNull() {
            addCriterion("pro_pic is not null");
            return (Criteria) this;
        }

        public Criteria andProPicEqualTo(String value) {
            addCriterion("pro_pic =", value, "proPic");
            return (Criteria) this;
        }

        public Criteria andProPicNotEqualTo(String value) {
            addCriterion("pro_pic <>", value, "proPic");
            return (Criteria) this;
        }

        public Criteria andProPicGreaterThan(String value) {
            addCriterion("pro_pic >", value, "proPic");
            return (Criteria) this;
        }

        public Criteria andProPicGreaterThanOrEqualTo(String value) {
            addCriterion("pro_pic >=", value, "proPic");
            return (Criteria) this;
        }

        public Criteria andProPicLessThan(String value) {
            addCriterion("pro_pic <", value, "proPic");
            return (Criteria) this;
        }

        public Criteria andProPicLessThanOrEqualTo(String value) {
            addCriterion("pro_pic <=", value, "proPic");
            return (Criteria) this;
        }

        public Criteria andProPicLike(String value) {
            addCriterion("pro_pic like", value, "proPic");
            return (Criteria) this;
        }

        public Criteria andProPicNotLike(String value) {
            addCriterion("pro_pic not like", value, "proPic");
            return (Criteria) this;
        }

        public Criteria andProPicIn(List<String> values) {
            addCriterion("pro_pic in", values, "proPic");
            return (Criteria) this;
        }

        public Criteria andProPicNotIn(List<String> values) {
            addCriterion("pro_pic not in", values, "proPic");
            return (Criteria) this;
        }

        public Criteria andProPicBetween(String value1, String value2) {
            addCriterion("pro_pic between", value1, value2, "proPic");
            return (Criteria) this;
        }

        public Criteria andProPicNotBetween(String value1, String value2) {
            addCriterion("pro_pic not between", value1, value2, "proPic");
            return (Criteria) this;
        }

        public Criteria andProDetailIsNull() {
            addCriterion("pro_detail is null");
            return (Criteria) this;
        }

        public Criteria andProDetailIsNotNull() {
            addCriterion("pro_detail is not null");
            return (Criteria) this;
        }

        public Criteria andProDetailEqualTo(String value) {
            addCriterion("pro_detail =", value, "proDetail");
            return (Criteria) this;
        }

        public Criteria andProDetailNotEqualTo(String value) {
            addCriterion("pro_detail <>", value, "proDetail");
            return (Criteria) this;
        }

        public Criteria andProDetailGreaterThan(String value) {
            addCriterion("pro_detail >", value, "proDetail");
            return (Criteria) this;
        }

        public Criteria andProDetailGreaterThanOrEqualTo(String value) {
            addCriterion("pro_detail >=", value, "proDetail");
            return (Criteria) this;
        }

        public Criteria andProDetailLessThan(String value) {
            addCriterion("pro_detail <", value, "proDetail");
            return (Criteria) this;
        }

        public Criteria andProDetailLessThanOrEqualTo(String value) {
            addCriterion("pro_detail <=", value, "proDetail");
            return (Criteria) this;
        }

        public Criteria andProDetailLike(String value) {
            addCriterion("pro_detail like", value, "proDetail");
            return (Criteria) this;
        }

        public Criteria andProDetailNotLike(String value) {
            addCriterion("pro_detail not like", value, "proDetail");
            return (Criteria) this;
        }

        public Criteria andProDetailIn(List<String> values) {
            addCriterion("pro_detail in", values, "proDetail");
            return (Criteria) this;
        }

        public Criteria andProDetailNotIn(List<String> values) {
            addCriterion("pro_detail not in", values, "proDetail");
            return (Criteria) this;
        }

        public Criteria andProDetailBetween(String value1, String value2) {
            addCriterion("pro_detail between", value1, value2, "proDetail");
            return (Criteria) this;
        }

        public Criteria andProDetailNotBetween(String value1, String value2) {
            addCriterion("pro_detail not between", value1, value2, "proDetail");
            return (Criteria) this;
        }

        public Criteria andProTakeIsNull() {
            addCriterion("pro_take is null");
            return (Criteria) this;
        }

        public Criteria andProTakeIsNotNull() {
            addCriterion("pro_take is not null");
            return (Criteria) this;
        }

        public Criteria andProTakeEqualTo(Integer value) {
            addCriterion("pro_take =", value, "proTake");
            return (Criteria) this;
        }

        public Criteria andProTakeNotEqualTo(Integer value) {
            addCriterion("pro_take <>", value, "proTake");
            return (Criteria) this;
        }

        public Criteria andProTakeGreaterThan(Integer value) {
            addCriterion("pro_take >", value, "proTake");
            return (Criteria) this;
        }

        public Criteria andProTakeGreaterThanOrEqualTo(Integer value) {
            addCriterion("pro_take >=", value, "proTake");
            return (Criteria) this;
        }

        public Criteria andProTakeLessThan(Integer value) {
            addCriterion("pro_take <", value, "proTake");
            return (Criteria) this;
        }

        public Criteria andProTakeLessThanOrEqualTo(Integer value) {
            addCriterion("pro_take <=", value, "proTake");
            return (Criteria) this;
        }

        public Criteria andProTakeIn(List<Integer> values) {
            addCriterion("pro_take in", values, "proTake");
            return (Criteria) this;
        }

        public Criteria andProTakeNotIn(List<Integer> values) {
            addCriterion("pro_take not in", values, "proTake");
            return (Criteria) this;
        }

        public Criteria andProTakeBetween(Integer value1, Integer value2) {
            addCriterion("pro_take between", value1, value2, "proTake");
            return (Criteria) this;
        }

        public Criteria andProTakeNotBetween(Integer value1, Integer value2) {
            addCriterion("pro_take not between", value1, value2, "proTake");
            return (Criteria) this;
        }

        public Criteria andProSevenIsNull() {
            addCriterion("pro_seven is null");
            return (Criteria) this;
        }

        public Criteria andProSevenIsNotNull() {
            addCriterion("pro_seven is not null");
            return (Criteria) this;
        }

        public Criteria andProSevenEqualTo(Integer value) {
            addCriterion("pro_seven =", value, "proSeven");
            return (Criteria) this;
        }

        public Criteria andProSevenNotEqualTo(Integer value) {
            addCriterion("pro_seven <>", value, "proSeven");
            return (Criteria) this;
        }

        public Criteria andProSevenGreaterThan(Integer value) {
            addCriterion("pro_seven >", value, "proSeven");
            return (Criteria) this;
        }

        public Criteria andProSevenGreaterThanOrEqualTo(Integer value) {
            addCriterion("pro_seven >=", value, "proSeven");
            return (Criteria) this;
        }

        public Criteria andProSevenLessThan(Integer value) {
            addCriterion("pro_seven <", value, "proSeven");
            return (Criteria) this;
        }

        public Criteria andProSevenLessThanOrEqualTo(Integer value) {
            addCriterion("pro_seven <=", value, "proSeven");
            return (Criteria) this;
        }

        public Criteria andProSevenIn(List<Integer> values) {
            addCriterion("pro_seven in", values, "proSeven");
            return (Criteria) this;
        }

        public Criteria andProSevenNotIn(List<Integer> values) {
            addCriterion("pro_seven not in", values, "proSeven");
            return (Criteria) this;
        }

        public Criteria andProSevenBetween(Integer value1, Integer value2) {
            addCriterion("pro_seven between", value1, value2, "proSeven");
            return (Criteria) this;
        }

        public Criteria andProSevenNotBetween(Integer value1, Integer value2) {
            addCriterion("pro_seven not between", value1, value2, "proSeven");
            return (Criteria) this;
        }

        public Criteria andProPayafterIsNull() {
            addCriterion("pro_payafter is null");
            return (Criteria) this;
        }

        public Criteria andProPayafterIsNotNull() {
            addCriterion("pro_payafter is not null");
            return (Criteria) this;
        }

        public Criteria andProPayafterEqualTo(Integer value) {
            addCriterion("pro_payafter =", value, "proPayafter");
            return (Criteria) this;
        }

        public Criteria andProPayafterNotEqualTo(Integer value) {
            addCriterion("pro_payafter <>", value, "proPayafter");
            return (Criteria) this;
        }

        public Criteria andProPayafterGreaterThan(Integer value) {
            addCriterion("pro_payafter >", value, "proPayafter");
            return (Criteria) this;
        }

        public Criteria andProPayafterGreaterThanOrEqualTo(Integer value) {
            addCriterion("pro_payafter >=", value, "proPayafter");
            return (Criteria) this;
        }

        public Criteria andProPayafterLessThan(Integer value) {
            addCriterion("pro_payafter <", value, "proPayafter");
            return (Criteria) this;
        }

        public Criteria andProPayafterLessThanOrEqualTo(Integer value) {
            addCriterion("pro_payafter <=", value, "proPayafter");
            return (Criteria) this;
        }

        public Criteria andProPayafterIn(List<Integer> values) {
            addCriterion("pro_payafter in", values, "proPayafter");
            return (Criteria) this;
        }

        public Criteria andProPayafterNotIn(List<Integer> values) {
            addCriterion("pro_payafter not in", values, "proPayafter");
            return (Criteria) this;
        }

        public Criteria andProPayafterBetween(Integer value1, Integer value2) {
            addCriterion("pro_payafter between", value1, value2, "proPayafter");
            return (Criteria) this;
        }

        public Criteria andProPayafterNotBetween(Integer value1, Integer value2) {
            addCriterion("pro_payafter not between", value1, value2, "proPayafter");
            return (Criteria) this;
        }

        public Criteria andProStateIsNull() {
            addCriterion("pro_state is null");
            return (Criteria) this;
        }

        public Criteria andProStateIsNotNull() {
            addCriterion("pro_state is not null");
            return (Criteria) this;
        }

        public Criteria andProStateEqualTo(Integer value) {
            addCriterion("pro_state =", value, "proState");
            return (Criteria) this;
        }

        public Criteria andProStateNotEqualTo(Integer value) {
            addCriterion("pro_state <>", value, "proState");
            return (Criteria) this;
        }

        public Criteria andProStateGreaterThan(Integer value) {
            addCriterion("pro_state >", value, "proState");
            return (Criteria) this;
        }

        public Criteria andProStateGreaterThanOrEqualTo(Integer value) {
            addCriterion("pro_state >=", value, "proState");
            return (Criteria) this;
        }

        public Criteria andProStateLessThan(Integer value) {
            addCriterion("pro_state <", value, "proState");
            return (Criteria) this;
        }

        public Criteria andProStateLessThanOrEqualTo(Integer value) {
            addCriterion("pro_state <=", value, "proState");
            return (Criteria) this;
        }

        public Criteria andProStateIn(List<Integer> values) {
            addCriterion("pro_state in", values, "proState");
            return (Criteria) this;
        }

        public Criteria andProStateNotIn(List<Integer> values) {
            addCriterion("pro_state not in", values, "proState");
            return (Criteria) this;
        }

        public Criteria andProStateBetween(Integer value1, Integer value2) {
            addCriterion("pro_state between", value1, value2, "proState");
            return (Criteria) this;
        }

        public Criteria andProStateNotBetween(Integer value1, Integer value2) {
            addCriterion("pro_state not between", value1, value2, "proState");
            return (Criteria) this;
        }
    }

    /**
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}